
public class PlayingField {
	protected Board[] pField;
	
	PlayingField() {
		pField = new Board[3];
	}
	
	public void addBoard(int l) {
		pField[l] = new Board(l);
		pField[l].setPF(this);
	}
	
	public Board getBoard(int n) {
		return pField[n];
	}
	
	public void addSquare(int l, int c, int r) {
		pField[l].addSquare(c, r);
	}
	
	public Square getSquare(int l, int c, int r) {
		return pField[l].getSquare(c, r);
	}
	
	public void addPiece(int l, int c, int r, Piece p) {
		pField[l].addPiece(c, r, p);
	}
	
	public Piece getPiece(int l, int c, int r) {
		return pField[l].getPiece(c, r);
	}
	
	public String toString() {
		return "I'm da PlayingField!";
	}
}
